Eclipse Platform
Pre-release 3.0

Uses of Class
org.eclipse.swt.graphics.GC

Packages that use GC
org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer
org.eclipse.swt.custom SWT Custom widgets. 
org.eclipse.swt.events SWT typed listener support. 
org.eclipse.swt.graphics SWT graphics classes. 
org.eclipse.swt.widgets SWT widget public API classes. 
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

Uses of GC in org.eclipse.jface.text.source
 

Methods in org.eclipse.jface.text.source with parameters of type GC
 void ProjectionAnnotation.paint(GC gc, Canvas canvas, Rectangle rectangle)
           
protected  void VerticalRuler.doPaint(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
protected  void VerticalRuler.doPaint1(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
protected  void LineNumberRulerColumn.paintLine(int line, int y, int lineheight, GC gc, Display display)
          Paints the line.
protected  void LineNumberChangeRulerColumn.paintLine(int line, int y, int lineheight, GC gc, Display display)
           
 void IAnnotationPresentation.paint(GC gc, Canvas canvas, Rectangle bounds)
          Implement this method to draw a graphical representation of this annotation within the given bounds.
 void IAnnotationAccessExtension.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
          Draws a graphical representation of the given annotation within the given bounds.
protected  void ChangeRulerColumn.paintLine(int line, int y, int lineheight, GC gc, Display display)
           
protected  void AnnotationRulerColumn.doPaint(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
protected  void AnnotationRulerColumn.doPaint1(GC gc)
          Draws the vertical ruler w/o drawing the Canvas background.
protected static void Annotation.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Convenience method for drawing an image aligned inside a rectangle.
protected static void Annotation.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Convenience method for drawing an image aligned inside a rectangle.
 void Annotation.paint(GC gc, Canvas canvas, Rectangle bounds)
          Deprecated. use IAnnotationAccessExtension.paint(Annotation, GC, Canvas, Rectangle)
 

Uses of GC in org.eclipse.swt.custom
 

Methods in org.eclipse.swt.custom with parameters of type GC
protected  String CLabel.shortenText(GC gc, String t, int width)
          Shorten the given text t so that its length doesn't exceed the given width.
 

Uses of GC in org.eclipse.swt.events
 

Fields in org.eclipse.swt.events declared as GC
 GC PaintEvent.gc
          the graphics context to use when painting that is configured to use the colors, font and damaged region of the control.
 

Uses of GC in org.eclipse.swt.graphics
 

Methods in org.eclipse.swt.graphics that return GC
static GC GC.win32_new(Drawable drawable, GCData data)
          Invokes platform specific functionality to allocate a new graphics context.
static GC GC.win32_new(int hDC, GCData data)
          Invokes platform specific functionality to wrap a graphics context.
 

Uses of GC in org.eclipse.swt.widgets
 

Fields in org.eclipse.swt.widgets declared as GC
 GC Event.gc
          the graphics context to use when painting that is configured to use the colors, font and damaged region of the control.
 

Uses of GC in org.eclipse.ui.texteditor
 

Methods in org.eclipse.ui.texteditor with parameters of type GC
 void DefaultRangeIndicator.paint(GC gc, Canvas canvas, Rectangle bounds)
           
 void MarkerAnnotation.paint(GC gc, Canvas canvas, Rectangle r)
           
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int halign, int valign)
          Draws an image aligned inside the given rectangle on the given canvas.
static void ImageUtilities.drawImage(Image image, GC gc, Canvas canvas, Rectangle r, int align)
          Draws an image aligned inside the given rectangle on the given canvas.
 void DefaultMarkerAnnotationAccess.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
           
 void DefaultAnnotation.paint(GC gc, Canvas canvas, Rectangle r)
          Deprecated.  
 


Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.